/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.msk.wlhy.mapper;


import com.msk.sys.mapper.CrudDao;
import com.msk.wlhy.domain.HtSupplier;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * <p>[]</p>
 * <p>作者：shic</p>
 * <p>邮箱：shic@xiangyou.com</p>
 * <p>创建时间： 2019-03-29 </p>
 * <p>类说明：承运商管理DAO接口 </p>
 * <p>修改记录：</p>
 */
@Repository
public interface HtSupplierDao extends CrudDao<HtSupplier> {
	Long findCount(HtSupplier htSupplier);

	void updateStatus(HtSupplier htSupplier);

	long selectMaxSupCode();

	HtSupplier getSupplierByUserId(String userid);
	List<HtSupplier> getPassHtSuppliers(Map<String, Object> param);

	int uniqSocialCode(@Param("unifiedSocialCreditCode") String unifiedSocialCreditCode, @Param("id") String id);

	int nameCheck(@Param("name") String name, @Param("id") String id);

	HtSupplier getHtSupplierByLoginName(String loginName);

	List<Map<String , String>> getAllHtSuppliersJson(Map<String, Object> param);
}